#!/bin/csh 
#.................................................................................................

setenv NCARG_ROOT  /Users/zhan524/tools/ncl_ncarg-6.0.0.MacOS_10.6_64bit_nodap_gcc421
setenv NCARG_ROOT  /share/apps/ncl/6.0.0/gnu
      
setenv makeplot "T"
setenv plotform "pdf"
setenv plotview "png"


#.................................................................................................

cat > load_setup.ncl << EOF

  plotfmt = "$plotform"
  shortname = "presc_pdice_pddust_picont_X0006A-X0009A_0003-0007" 

  ca = "X0009A"
  cb = "X0006A"

  na = ca ;;"presc BN fixdust PI" 
  nb = cb ;;"presc BN fixdust PD" 

  basepa = "/pic/scratch/zhan524/"
  basepb = "/pic/scratch/zhan524/"

  ma = ".cam2.h0.0003-0007.ANN.nc" 
  mb = ".cam2.h0.0003-0007.ANN.nc" 

EOF


foreach exe (*.ncl)
   echo ncl $exe
   ncl $exe
end



